package com.zhs.gccs.model;


import java.util.List;

public class LoginBean
{
    private String msg;
    private int code;
    private LoginInfo data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public LoginInfo getData() {
        return data;
    }

    public void setData(LoginInfo data) {
        this.data = data;
    }

    public static class LoginInfo{
        private SysUser user;
        private List<String> roles;
        private List<String> permissions;
        private SmTask task;
        private SmTask taskInAudit;


        public SmTask getTaskInAudit() {
            return taskInAudit;
        }

        public void setTaskInAudit(SmTask taskInAudit) {
            this.taskInAudit = taskInAudit;
        }

        public SysUser getUser() {
            return user;
        }

        public void setUser(SysUser user) {
            this.user = user;
        }

        public List<String> getRoles() {
            return roles;
        }

        public void setRoles(List<String> roles) {
            this.roles = roles;
        }

        public List<String> getPermissions() {
            return permissions;
        }

        public void setPermissions(List<String> permissions) {
            this.permissions = permissions;
        }

        public SmTask getTask() {
            return task;
        }

        public void setTask(SmTask task) {
            this.task = task;
        }
    }
}
